package com.ikas.ai.server.module.machine.model.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

@Data
public class MachineSystemAddDTO {

    @NotNull(message = "系统编号不能为空！")
    @Size(max = 100, message = "系统编号长度请限制在100个字符以内")
    private String systemNo;

    @NotNull(message = "系统名称不能为空！")
    @Size(max = 200, message = "系统名称长度请限制在200个字符以内")
    private String systemName;

    @NotNull(message = "所属机组不能为空！")
    private Long machineId;

    @NotNull(message = "所属机组不能为空！")
    private String machineNo;

}
